Problem while installing models

by: VanDalucas, 9 years ago


Hi!

I downloaded python 3.5, then go to terminal and type "python3", then exit(), and finally (according to the documentation) I type in "python -m pip pandas" but what I get in response is "/usr/bin/python: No module named pip"

Any Idea?

P.S. Harrison thank you very much for your work. I suppose I could get around my problem by installing anaconda but I would like to use the idle like you do (I am doing the data analysis series). In any case, what IDE do you prefer?






You must be logged in to post. Please login or register an account.



What operating system are you using here?

As for my preferred IDE, I genuinely prefer the nice, simple, IDLE. I always recommend to people to just try out a few of the IDEs and just choose the one that suits them best. At the end of the day, it really doesn't matter, the programs made don't care what IDE you use to make them. Some of the popular ones are PyCharm, Anaconda, IPython notebooks (this is an interactive development situation, very much different than an editor), Wing IDE, and probably some others I am forgetting...along with the vanilla IDLE.

-Harrison 9 years ago

You must be logged in to post. Please login or register an account.


I am on OS X 10.11,
I think I ll start with anaconda but want to work for a period with idle before I switch

-VanDalucas 9 years ago

You must be logged in to post. Please login or register an account.


I am not positive, never used a mac for Python, but I do not think your method is the correct one for macs.

So you install Python, and pip should have come with it. From there, you just do:

pip3 install module.

So, for you, it should just be

pip3 install pandas

If not that, then try

pip3 install pandas.

... i believe you can also get away with something like:

sudo apt-get install python3-pandas


edited to be pip3 install, not pip, which would default to py2 probably.

-Harrison 9 years ago
Last edited 9 years ago

You must be logged in to post. Please login or register an account.


"pip3 install pandas" worked!  didn't though after downloading that documentation "naturally" switched back to windows. It also installed numpy

Again, your work is great

-VanDalucas 9 years ago

You must be logged in to post. Please login or register an account.


Awesome, great to hear. Best wishes as you go along!

-Harrison 9 years ago

You must be logged in to post. Please login or register an account.